import memcache



from app.settings.config import MEMCACHED_HOST
mc = memcache.Client([f"{MEMCACHED_HOST}:11211"],debug=True)


# memcached -d -u root -p 11211 -m 128



# mc.set("username","xiaomi",time=120)
# print(mc.get("username"))